package lab02.test07;

/**
 * Created by Administrator on 2017/10/24.
 */
public class Test {
    public static void main(String[] args) {
        Person yuan=new Person();
        yuan.name="yuanchao";
        yuan.age=21;
        yuan.idcard="1234567890123456789";
        System.out.println(yuan.getString());

        Student li=new Student();
        li.name="xiaohanzi";
        li.age=20;
        li.idcard="445526374756865";
        li.sno="1213";
        li.university="四川旅游学院";
        System.out.println(li.getString());


    }
}
